/*
 * Class3J.h
 *
 *  Created on: 2015年7月17日
 *      Author: Administrator
 */

#ifndef BCCH_CLASS3J_H_
#define BCCH_CLASS3J_H_
#include "Class3.h"
#include "../struct_bcch.h"
//包含相邻波束的中心位置。Size: 184 bits
//<Header: bitstring(5)>
//<Class Type 3: 0>
//<Segment type: 1010>
//struct ST3J_Header{
//	//header 由classType、segment Type组成
//	//1 bit
//	unsigned char classType:1;
//	//4bits
//	unsigned char segmentType:4;
//};
//<BEAM_CENTER_POS_neighbours>– 108 bits。这是一个重复发送的信息，重复周期为6次，将相邻波束发送完成，共18*6=108bits。按照顺时针方向，正北为第一个。如果有漏掉的波束，经纬度以0替代。
//<Latitude: bitstring(9)>– This parameter contains the geocentric latitude offset from the latitude of the main beam center point, as provided in BEAM_ CENTER_POS_main. It is a 2's complement number, in units of 0,1 degree, with a valid range of –25.6 degrees to +25.5 degrees
//<Longitude: bitstring(9)>– This parameter contains the geocentric longitude offset from the longitude of the main beam centre as provided in BEAM_ CENTER_POS_main. It is a 2's complement number in units of 0.1 degree with a valid range of –25.6 degrees to +25.5 degrees


//struct ST3J_BEAM_CENTER_POS_neighbours{
//	unsigned short latitude:9;
//	unsigned short longitude:9;
//
//};

class Class3J :public Class3{
public:
	Class3J();
	virtual ~Class3J();
//	ST3J_Header header;
	BEAM_CENTER_POS_neighbours mBeamCenterPosNbours[6];
//	<Spare: bitstring(71)>
	unsigned char spare[9];
};

#endif /* BCCH_CLASS3J_H_ */
